<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>ST Computer | Smartphone, Laptop, Máy tính bảng chính hãng</title>
        <link href="<?php echo base_url(); ?>Public/css/reset.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url(); ?>Public/css/style.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="<?php echo base_url(); ?>Public/css/nivo-default.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="<?php echo base_url(); ?>Public/css/nivo-slider.css" type="text/css" media="screen" />
        <link rel="stylesheet" href="<?php echo base_url(); ?>Public/css/prettyPhoto.css" type="text/css" media="screen" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js"></script>
        <script>
            var globalurl =<?php echo base_url(""); ?>;
        </script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/custom.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/twitter.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/nivo-slider/jquery.nivo.slider.pack.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/superfish-menu/superfish.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/jquery.prettyPhoto.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/jquery.tipsy.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/slides.min.jquery.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/kwicks/jquery.kwicks-1.5.1.pack.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/jquery.mousewheel.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/jquery.contentcarousel.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/jquery.vaccordion.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/jquery.quicksand.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/my.js"></script>
        <script type="text/javascript" src="<?php echo base_url(); ?>Public/js/myjavascript.js"></script>
        <link rel="stylesheet" href="<?php echo base_url(); ?>Public/css/dialog.css" />

        <!--GOOGLE FONTS-->
        <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css' />
        <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css' />

    </head>
    <body>
        <!--Main wrapper-->
        <div id="main_wrapper">
            <div id="top_line"></div>

            <!--Header-->
            <div id="header">
                <div class="container">
                    <!--Logo-->
                    <div class="span-7">
                        <div id="logo">
                            <a href="#"><img src="<?php echo base_url(); ?>Public/images/logo.png" alt="Logo" /></a>
                        </div>
                    </div>
                    <!--End Logo and stat menu area-->
                    <div class="span-17 last">
                        <div class="sign">
                            <?php
                            if ($this->session->userdata('tentk') != NULL) {
                                $tentk = $this->session->userdata('tentk');
                                ?>
                                <a id ="loginBar" class="login-window button"style="float: right;"><?= $tentk ?></a>
                                <span>
                                    <a id ="loginBar"class="login-window button" style="float: right;"href="<?php echo base_url("index.php/login/thoat"); ?>">ĐĂNG XUẤT</a>
                                </span>
                                <?php
                            } else {
                                ?>
                                <p class="right last" id="LoginControl">
                                    <a id ="loginBar" class="login-window button" href="<?php echo base_url("index.php/welcome/vlogin"); ?>">ĐĂNG NHẬP</a>
                                </p>

                                <p class="right last" id="LoginControl">
                                    <a id ="loginBar" class="login-window button" href="<?php echo base_url("index.php/welcome/vreg"); ?>">ĐĂNG KÝ</a>
                                </p>
                                <?php
                            }
                            ?>
                            <p class="left">Đường dây nóng : <span class="colored">19008198</span></p>
                        </div>
                    </div>
                    <div class="span-17 last">
                        <ul id="menu">
                            <li class="active"><a href="<?php echo base_url(); ?>">Trang chủ</a>
                            </li>
                            <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=1"); ?>">LAPTOP</a>
                                <ul>
                                    <?php
                                    foreach ($menulaptop as $row) {
                                        ?>
                                        <li><a href="<?php echo base_url("index.php/welcome/show_productby2type?matl=1&hsx=" . $row['mahangsx'] . ""); ?>"> <?= $row['tenhangsx']; ?></a></li>
                                        <?php
                                    }
                                    ?>
                                </ul>
                            </li>
                            <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=2"); ?>">ĐIỆN THOẠI</a>
                                <ul>
                                    <?php
                                    foreach ($menudienthoai as $row) {
                                        ?>
                                        <li><a href="<?php echo base_url("index.php/welcome/show_productby2type?matl=2&hsx=" . $row['mahangsx'] . ""); ?>"> <?= $row['tenhangsx']; ?></a></li>
                                        <?php
                                    }
                                    ?>
                                </ul>
                            </li>
                            <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=3"); ?>">MÁY TÍNH BẢNG</a>
                                <ul>
                                    <?php
                                    foreach ($menumaytinhbang as $row) {
                                        ?>
                                        <li><a href="<?php echo base_url("index.php/welcome/show_productby2type?matl=3&hsx=" . $row['mahangsx'] . ""); ?>"> <?= $row['tenhangsx']; ?></a></li>
                                        <?php
                                    }
                                    ?>
                                </ul>
                            </li>
                            <li><a href="">PHỤ KIỆN</a>
                                <ul>

                                    <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=4"); ?>">Ốp lưng</a></li>
                                    <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=5"); ?>">Pin sạc dự phòng</a></li>
                                    <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=6"); ?>">Thẻ nhớ</a></li>
                                    <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=7"); ?>">USB</a></li>
                                    <li><a href="<?php echo base_url("index.php/welcome/show_productbytype?matl=8"); ?>">Chuột máy tính</a></li>
                                </ul>
                            </li>
                            <li><a href="<?php echo base_url("index.php/welcome/show_contact"); ?>">LIỆN HỆ</a></li>		
                        </ul>
                    </div>
                </div>
            </div>
            <div class="separator"></div>
            <!-------end header ------->
